Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flutter_local_notifications] Add note about keeping @mipmap/ic_launcher resource #1804

Merged
merged 1 commit into from
Nov 24, 2022

Conversation

DanielArndt
Copy link
Contributor

Add a note to prevent issues like #1762.

I agree with @MaikuB 's sentiment that there are multiple ways to configure things and this is app specific configuration, however, the README does slightly nudge you in this direction if you're just trying to get things working. It does note that it isn't recommended, but it's not clear what the consequences will be.

It is possible to use launcher icon/mipmap and this by default is @mipmap/ic_launcher in the Android manifest and can be passed AndroidInitializationSettings constructor. However, the offical Android guidance is that you should use drawable resources.

Alternatively, removing the note about it being possible to use ic_launcher and provide much stronger recommendations against it instead might be another approach to avoid this.

@MaikuB
Copy link
Owner

MaikuB commented Nov 24, 2022

Thanks for this. Personally I'd rather the readme removed mentioning using the launcher icon but I reckon there'd be those in the community that would keep doing so that keeping it with what you added in the PR will minimise the number of issues opened on this

@MaikuB MaikuB merged commit f3bb689 into MaikuB:master Nov 24, 2022
@DanielArndt DanielArndt deleted the mipmap-ic-launcher-readme-note branch November 24, 2022 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants